package com.szholly.data.general;

import java.util.HashMap;
import java.util.LinkedHashMap;

/**
 * 定义控件类型字典域类
 */
public class ControlTypeDomain {

	private static IDomain pDomain;
	
	private static HashMap<String, String> codes;
	
	static {
		codes = new LinkedHashMap<String, String>();
		codes.put("文本框", "文本框");
		codes.put("下拉框", "下拉框");
		codes.put("下拉树", "下拉树");
		codes.put("复选框", "复选框");
		codes.put("单选框", "单选框");
		
		pDomain = new MemDomain(codes, "(元数据)录入控件类型");
	}
	
	public static IDomain getDomain(){
		return pDomain;
	}
}